//
//  GQHContractExpenseModel.m
//  Xanthium
//
//  Created by GuanQinghao on 20/04/2018.
//  Copyright © 2018 GuanQinghao. All rights reserved.
//

#import "GQHContractExpenseModel.h"

@implementation GQHContractExpenseModel

+ (nullable NSDictionary<NSString *, id> *)modelCustomPropertyMapper {
    
    return @{
             @"qh_contractID" : @"waybillAgreementId",
             @"qh_freightWeight" : @"demandVehicle",
             @"qh_contractPrepayment" : @"freightPrepaid",
             @"qh_contractFinalPayment" : @"freightTailed",
             @"qh_contractOtherExpense" : @"otherExpenses"
             };
}

+ (nullable NSDictionary<NSString *, id> *)modelContainerPropertyGenericClass {
    
    return @{
             @"qh_contractPrepayment" : GQHContractPaymentModel.class,
             @"qh_contractFinalPayment" : GQHContractPaymentModel.class,
             @"qh_contractOtherExpense" : GQHContractPaymentModel.class
             };
}

@end
